package uk.co.benbrown.jvis.model;

public enum ShotType {
    Dig('g', false), 
    Set('j', false), 
    Serve('k', true), 
    Receive('r', false), 
    Attack('l', true), 
    Block('b', true);

    private final char key;
    private final boolean scoringSkill;

    private ShotType(char key, boolean scoringSkill) {
	this.key = key;
	this.scoringSkill = scoringSkill;
    }

    public char getKey() {
	return key;
    }

    public boolean isScoringSkill() {
	return scoringSkill;
    }
}
